package com.slz3.business.module.systemManagement.sysRoleMenu.domain;

import com.slz3.business.module.systemManagement.sysPermissions.domain.SysPermissions;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.List;
import java.util.UUID;

@Entity
@Table(schema = "system_management", name = "sys_role_menu")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysRoleMenu extends SysRoleMenuEntity implements Serializable {

    private static final long serialVersionUID = 3928173855627287110L;
    @Transient
    private List<UUID> selectMenuUuids;

    @Transient
    private List<UUID> unSelectMenuUuids;

    @Transient
    private List<SysPermissions> allPermissionUuid;

    @Transient
    private List<UUID> selectPermissionUuid;

}
